
class SectionTitleView extends StatelessWidget {
  const SectionTitleView(this.title,
      {this.size = 18,
      this.width = 133.0,
      this.colorTitle = const Color(0xFF0F1724),
      super.key});

  final String title;
  final double size;
  final double width;
  final Color colorTitle;

  @override
  Widget build(BuildContext context) {
    return Stack(
      alignment: Alignment.bottomLeft,
      children: [
        Padding(
          padding: const EdgeInsets.only(bottom: 2),
          child: Image.asset(failureInfo, width: width, height: 5.0),
        ),
        Text(
          title,
          style: TextStyle(
              color: colorTitle, fontSize: size, fontWeight: FontWeight.w600),
        ),
      ],
    );
  }
}